<div class="box white_bg">

<div class="chitiet_bar">
<div class="chitiet_bar_left"></div>
<div class="chitiet_bar_right">
<? if ($this->viewParams['nodeTypeInfo']['type'] == "news") :?>
<?=t(166)?>
<?else :?>
<?=$this->viewParams['nodeTypeInfo']['type'] ?>
<?endif ?>
</div>
</div>
<?
		$sess = new Zend_Session_Namespace(CLU_NS);
		if ((isset($sess->userId) && 
			(strpos($sess->userPermissions, 'update ' . $this->viewParams['nodeTypeInfo']['type']) ||
			($sess->userId == $this->viewParams['node']['poster_id'] && strpos ($sess->userPermissions, 'update own ' . $this->viewParams['nodeTypeInfo']['type'])
			))))
:?>
 <div style="text-align:right">
 	<a href="<?=$this->hvnUrl(array('module' => 'node',
 	                                'controller' => 'master',
 	                                'type' => $this->viewParams['nodeTypeInfo']['type'],
 	                                'action' => 'edit') ,
 	                                'node');?>?id=<?=$this->viewParams['node']['id']?>" > <?=t(38)?> </a>
 	<?if ($this->viewParams['nodeTypeInfo']['needs_translation']) :?>
 	<a href="<?=$this->hvnUrl(array('module' => 'article',
 	                                'controller' => 'master',
 	                                'action' => 'translate') ,
 	                                'nocontroller');?>?id=<?=$this->viewParams['node']['article_id']?>" ><?=t(90)?> </a>
 	<?endif ?>
 </div>
 <?endif ?>
<? if ($this->viewParams['nodeTypeInfo']['has_title']) :?>
<div class="chitiet_title">
<a href="#">

<?if (isset($this->viewParams['nodeTypeInfo']['requires_translation']) && $sess->viewLang != get_language_from_int($this->viewParams['node']['language'])) :?>
<?=$this->viewParams['article']['article_title'] ?>
<?else:?>
<?=$this->viewParams['node']['title'] ?>
<?endif ?> 
</a> 
</div>
<div class="clear"> </div>
<?endif ?>
<? if ($this->viewParams['nodeTypeInfo']['has_body']) :?>
<?if (isset($this->viewParams['nodeTypeInfo']['requires_translation']) && $sess->viewLang != get_language_from_int($this->viewParams['node']['language'])) :?>
<?=$this->viewParams['article']['article_body'] ?>
<?else:?>
<?=$this->viewParams['node']['body'] ?>
<?endif ?> 
 
<?endif ?>

<div class="chitiet_case">
<?=t(136)?>  : <a href="#"> <?=$this->viewParams['node']['metadata']['poster_name']?> </a>, <?=t(3007)?>  <?=date("j/n/Y", $this->viewParams['node']['created']) ?>
</div>
<div class="clear"></div>
<div>
<b><?=t(6101)?> <a href="<?=$this->hvnUrl(array("module" => "gallery", "action" => "upload-photos"), "nocontroller")?>?id=<?=$this->viewParams['node']['id'] ?>"> <?=t(9)?>  </a></b>
</div>
</div>